import { TJshortcuts } from '@/utils/config'
import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'member',
    type: 'input',
    label: i18n.t('message.hyxx'),
    placeholder: i18n.t('message.hy2')
  },
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.ddbh')
  },
  {
    filed: 'inFlag',
    type: 'select',
    label: i18n.t('message.rcpz'),
    placeholder: i18n.t('message.qb'),
    options: [
      { value: '42', label: i18n.t('message.mp') },
      { value: '32', label: i18n.t('message.cdyd') },
      { value: '41', label: i18n.t('message.tc') }
    ]
  },
  {
    filed: 'inType',
    type: 'select',
    label: i18n.t('message.rcfs'),
    placeholder: i18n.t('message.qb'),
    options: [
      { value: '3', label: i18n.t('message.ic') },
      { value: '1', label: i18n.t('message.ewm') },
      { value: '2', label: i18n.t('message.rl') }
    ]
  },
  {
    filed: 'out',
    type: 'select',
    label: i18n.t('message.sflc'),
    placeholder: i18n.t('message.qb'),
    options: [
      { value: '0', label: i18n.t('message.wlc') },
      { value: '1', label: i18n.t('message.ylc') }
    ]
  },
  {
    filed: 'daterange',
    type: 'daterange',
    pickerOptions: {
      shortcuts: TJshortcuts
    }
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
